module.exports = function(window, document) {
	var apivm = require('../../common/avm.min')(window, document);
	var avm = apivm;
	var api = apivm.api;
	var Component = apivm.Component;
	var $ = apivm.$;
	(function() {
	var Sharepage = /*@__PURE__*/ (function(Component) {
		function Sharepage(props) {
			Component.call(this, props);
			this.data = {};
		}

		if (Component) Sharepage.__proto__ = Component;
		Sharepage.prototype = Object.create(Component && Component.prototype);
		Sharepage.prototype.constructor = Sharepage;
		Sharepage.prototype.render = function() {
			return apivm.h(
				"view",
				{class: "sharepage-main"},
				apivm.h("view", {class: "sharepage-section", onclick: this.props.onresult}),
				apivm.h(
					"view",
					{class: "sharepage-footer"},
					apivm.h(
						"view",
						{class: "sharepage-col", onclick: this.props.onresult},
						apivm.h("image", {
							class: "sharepage-img",
							src: "../../image/share_timeline.png"
						}),
						apivm.h("text", null, "微信朋友圈")
					),
					apivm.h(
						"view",
						{class: "sharepage-col", onclick: this.props.onresult},
						apivm.h("image", {
							class: "sharepage-img",
							src: "../../image/share_friend.png"
						}),
						apivm.h("text", null, "微信好友")
					)
				)
			);
		};

		return Sharepage;
	})(Component);
	apivm.define("sharepage", Sharepage);
	apivm.render(apivm.h("sharepage", null), "body");
})();

	window['createApp'] = function() {
		apivm.$_start();
	}
	return avm;
}